<?php

use app\helpers\UserHelper;
use app\models\Group;
use yii\helpers\Html;
use yii\web\View;
use yii\widgets\ActiveForm;

/* @var $model Group */
/* @var $this View */

?>


<?php $form = ActiveForm::begin(['enableClientScript' => FALSE]); ?>

<?= $form->field($model, 'group_num')->textInput(); ?>
<?= $form->field($model, 'group_type')->dropDownList(UserHelper::$groupType); ?>
<?= $form->field($model, 'group_priority')->dropDownList(UserHelper::$userPriority); ?>

<div class="form-group">
    <?= Html::submitButton('提交', ['class' => 'btn btn-block ladda-button', 'data-style' => 'zoom-in']) ?>
</div>
<?php ActiveForm::end(); ?>



